package com.food.admin.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

@Data
@ApiModel("分页及条件查询餐品类型参数对象")
public class ProductsTypeSearchForm {
    @Max(2)
    @Min(0)
    @ApiModelProperty("类型状态，0删除1上架2下架")
    private Integer typeState;
    @ApiModelProperty("餐品类型名称")
    private String typeName;
    @ApiModelProperty("分页页码")
    private Integer pageIndex;
    @ApiModelProperty("每页条数")
    private Integer pageSize;
}
